package com.feicheng.house.service;

import com.feicheng.house.entity.Client;
import com.feicheng.house.result.ResultInfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author feichengTech
 * @since 2021-11-06
 */
public interface IClientService extends IService<Client> {
	/**
	 * 新增客户
	 * @param Client 新增客户对象
	 * @return Boolean值
	 */
	ResultInfo insert(Client client);
	/**
	 * 修改客户
	 * @param Client 修改客户
	 * @return Boolean值
	 */
	ResultInfo update(Client client);
	/**
	 * 查询当前客户
	 * @param openId openId
	 * @return client
	 */
	ResultInfo getClient(String openId);

}
